StoreEngine\Addons\Paypal\PaypalExpressService S

Total Complexity 39
Dependencies 6
Dependents 3
Total lines 354
Lines of code 218
Logical lines of code 73
Comment lines 67
Methods 23
Properties 7

Methods 23

Method Rating Maintainability Complexity Lines of code
api_request()
A
46 9 36
validate_credentials()
S
52 4 24
init_settings()
S
60 4 12
create_product_and_subscription()
S
48 1 34
init()
S
71 2 6
get_api_url()
S
66 2 8
create_order()
S
60 1 14
create_product()
S
62 1 13
update_order()
S
61 1 13
capture_subscription_order()
S
62 1 11
create_subscription()
S
65 1 10
get_currency()
S
82 1 3
create_subscription_plan()
S
79 1 3
get_order()
S
78 1 3
authorize_order()
S
78 1 3
capture_order()
S
78 1 3
__construct()
S
77 1 4
api_delete()
S
78 1 3
api_patch()
S
78 1 3
api_post()
S
78 1 3
api_get()
S
79 1 3
get_auth_header()
S
78 1 3
create_webhook()
S
79 1 3